package com.xxj.entity;

import java.util.Date;

public class NewsEntity {
	private int newsId;
	private Date createTime;
	private String newsTitle;
	private String newsContent;
	private String tId;
	private String showHome;
	private String name;
	
	public int getNewsId() {
		return newsId;
	}
	public void setNewsID(int newsId) {
		this.newsId = newsId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public String gettId() {
		return tId;
	}
	public void settID(String tId) {
		this.tId = tId;
	}
	public String getShowHome() {
		return showHome;
	}
	public void setShowHome(String showHome) {
		this.showHome = showHome;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public NewsEntity(int newsId, Date createTime, String newsTitle, String newsContent, String tId, String showHome) {
		super();
		this.newsId = newsId;
		this.createTime = createTime;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.tId = tId;
		this.showHome = showHome;
	}
	
	public NewsEntity(int newsId, Date createTime, String newsTitle, String newsContent, String tId, String showHome,
			String name) {
		super();
		this.newsId = newsId;
		this.createTime = createTime;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.tId = tId;
		this.showHome = showHome;
		this.name = name;
	}
	public NewsEntity(int newsId, String newsTitle, String newsContent, String tId, String showHome,
			String name) {
		super();
		this.newsId = newsId;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.tId = tId;
		this.showHome = showHome;
		this.name = name;
	}
	
	public NewsEntity() {
		super();
	}
	@Override
	public String toString() {
		return "NewsEntity [newsId=" + newsId + ", creatsTime=" + createTime + ", newsTitle=" + newsTitle
				+ ", newsContent=" + newsContent + ", tId=" + tId + ", showHome=" + showHome + "]";
	}
	

}
